<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/AcountingService.Criteria.Dictionary" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/AcountingService.Criteria.Dictionary" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost:15174/ActionAccountingService.svc?xsd=xsd6" namespace="http://www.yourcompany.com/types/" />
  <xs:complexType name="UnitCriteria">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q1="http://www.yourcompany.com/types/" base="q1:Criteria">
        <xs:sequence>
          <xs:element minOccurs="0" name="UnitId" type="xs:int" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="UnitCriteria" nillable="true" type="tns:UnitCriteria" />
  <xs:complexType name="DepartmentCriteria">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q2="http://www.yourcompany.com/types/" base="q2:Criteria">
        <xs:sequence>
          <xs:element minOccurs="0" name="DepartmentId" type="xs:int" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="DepartmentCriteria" nillable="true" type="tns:DepartmentCriteria" />
  <xs:complexType name="CustomerCriteria">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q3="http://www.yourcompany.com/types/" base="q3:Criteria">
        <xs:sequence>
          <xs:element minOccurs="0" name="CustomerId" type="xs:long" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="CustomerCriteria" nillable="true" type="tns:CustomerCriteria" />
  <xs:complexType name="VendorCriteria">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q4="http://www.yourcompany.com/types/" base="q4:Criteria">
        <xs:sequence>
          <xs:element minOccurs="0" name="VendorId" type="xs:long" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="VendorCriteria" nillable="true" type="tns:VendorCriteria" />
  <xs:complexType name="RefTypeCriteria">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q5="http://www.yourcompany.com/types/" base="q5:Criteria">
        <xs:sequence>
          <xs:element minOccurs="0" name="RefTypeId" type="xs:int" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="RefTypeCriteria" nillable="true" type="tns:RefTypeCriteria" />
  <xs:complexType name="VoucherTypeCriteria">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q6="http://www.yourcompany.com/types/" base="q6:Criteria">
        <xs:sequence>
          <xs:element minOccurs="0" name="VoucherTypeId" type="xs:int" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="VoucherTypeCriteria" nillable="true" type="tns:VoucherTypeCriteria" />
  <xs:complexType name="AutoBusinessCriteria">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q7="http://www.yourcompany.com/types/" base="q7:Criteria">
        <xs:sequence>
          <xs:element minOccurs="0" name="AutoBusinessId" type="xs:long" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="AutoBusinessCriteria" nillable="true" type="tns:AutoBusinessCriteria" />
  <xs:complexType name="DbOptionCriteria">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q8="http://www.yourcompany.com/types/" base="q8:Criteria">
        <xs:sequence>
          <xs:element minOccurs="0" name="DbOptionId" type="xs:int" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="DbOptionCriteria" nillable="true" type="tns:DbOptionCriteria" />
  <xs:complexType name="EmployTestCriteria">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q9="http://www.yourcompany.com/types/" base="q9:Criteria">
        <xs:sequence>
          <xs:element minOccurs="0" name="EmployTestId" type="xs:int" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="EmployTestCriteria" nillable="true" type="tns:EmployTestCriteria" />
  <xs:complexType name="AccountCriteria">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q10="http://www.yourcompany.com/types/" base="q10:Criteria">
        <xs:sequence>
          <xs:element minOccurs="0" name="AccountId" type="xs:int" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="AccountCriteria" nillable="true" type="tns:AccountCriteria" />
  <xs:complexType name="StockCriteria">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q11="http://www.yourcompany.com/types/" base="q11:Criteria">
        <xs:sequence>
          <xs:element minOccurs="0" name="StockId" type="xs:long" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="StockCriteria" nillable="true" type="tns:StockCriteria" />
  <xs:complexType name="InventoryItemCriteria">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q12="http://www.yourcompany.com/types/" base="q12:Criteria">
        <xs:sequence>
          <xs:element minOccurs="0" name="InventoryItemId" type="xs:long" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="InventoryItemCriteria" nillable="true" type="tns:InventoryItemCriteria" />
  <xs:complexType name="FixedAssetCategoryCriteria">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q13="http://www.yourcompany.com/types/" base="q13:Criteria">
        <xs:sequence>
          <xs:element minOccurs="0" name="FixedAssetCategoryId" type="xs:long" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="FixedAssetCategoryCriteria" nillable="true" type="tns:FixedAssetCategoryCriteria" />
  <xs:complexType name="FixedAssetCriteria">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q14="http://www.yourcompany.com/types/" base="q14:Criteria">
        <xs:sequence>
          <xs:element minOccurs="0" name="FixedAssetId" type="xs:long" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="FixedAssetCriteria" nillable="true" type="tns:FixedAssetCriteria" />
</xs:schema>